#ifndef __MODULESAMPLE_H__
#define __MODULESAMPLE_H__
#include <string>

namespace modx {
    
    class ModuleSample {
        
    public:
        ModuleSample(void) {
            sampleName = "";
            sampleLength = 0;
            sampleTuneFrequency = 0;
            sampleVolume = 0;
            sampleLoopStart = 0;
            sampleLoopLength = 0;
            sampleData = (char*)0;
        };
        
        std::string   sampleName;
        unsigned long  sampleLength;
        unsigned int  sampleTuneFrequency;
        unsigned char sampleVolume;
        unsigned long  sampleLoopStart;
        unsigned long  sampleLoopLength;
        char*  sampleData;
    };
}
#endif
